import { createApp, onAppShow, onAppHide, onAppError ,onPageNotFound} from '@vue-mini/core'
import updateManager from '@/common/updateManager';
createApp({
  setup() {
    onAppShow(() => {
      console.log('show')
      updateManager();
    })
    onAppHide(() => {
      console.log('hide')
    })
    onAppError(() => {
      console.log('error')
    }),
    onPageNotFound(()=>{
      console.log('404')
    })
  },
});
